<template>
<div>
  <h2 @click="showMsg">祖母的名字是：{{name}}</h2>
  <h2>祖母的年龄是：{{age}}</h2>
</div>
</template>

<script>
export default {
  name: "MyGrandma",
  data(){
    return{
      name:"肖藏",
      age:74
    }
  }
}
</script>

<style scoped>

</style>
